package com.jihe.common.exception;

/**
 * @author zyw
 * @version 1.0
 * @date 2021-09-07 13:59
 */
public enum BizCodeEnume {

    UNKNOW_EXCEPTION(10000,"系统未知异常"),
    VALID_EXCEPTION(10001,"参数格式验证失败");

    int code;
    String msg;

    BizCodeEnume(int code,String msg){
        this.code=code;
        this.msg=msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}